var fs = require('fs')

function GetCode() {
    var code = "";

    code += fs.readFileSync(__dirname+'\\AudioParam.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\AudioNode.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\DynamicsCompressorNode.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\AudioScheduledSourceNode.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\OscillatorNode.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\AudioParam.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\AudioContext.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\AudioDestinationNode.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\BaseAudioContext.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\OfflineAudioContext.js') + "\r\n"

    return code;
}

module.exports = {
    GetCode
}
